const siteManagement = {
  state: {
    concList: {}, // 选择设备清单需要传的基本信息中的合同id
    resourceName: "", //设备来源记录   判断设备清单弹框
    esmcDeviceEntryBill: {}, //设备信息卡
    tableData: [] //设备中心列表
  },

  mutations: {
    setConcId(state, val) {
      state.concList = val;
    },
    setResourceName(state, val) {
      state.resourceName = val;
    },
    setEsmcDeviceEntryBill(state, val) {
      state.esmcDeviceEntryBill = val;
    },
    settableData(state, val) {
      state.tableData = val;
    }
  }
};

export default siteManagement;
